<%@ page contentType="text/html;charset=utf-8"  language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<jsp:include page="../header.jsp" />
<jsp:include page="../navbar.jsp" />
	
<div class="container-fluid container-margin-top">
	<div class="row">
		<div class="col-lg-2 col-sm-3">
		 <jsp:include page="sidebar.jsp" />
		</div>
		<div class="col-lg-10 col-sm-9">
			<c:choose>
				<c:when test="${postResult == true}">
					<div class="dialog dialog-success"><strong>修改成功</strong></div>
				</c:when>
				<c:when test="${postResult == false}">
					<div class="dialog dialog-danger"><strong>修改失败</strong></div>
				</c:when>
			</c:choose>
			<div class="dialog dialog-success">
				<h4>签到设置</h4>
				<div class="row">
					<form role="form" action="<c:url value="/admin/check.do"/>" method="post">
						<div class="form-group col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
							<div class="control-label">
								<label>签到时间</label>
							</div>
							<div class="control-content">
								<input type="text" class="form-control" name="in_time" value="<%=request.getAttribute("signin_time")%>">
							</div>
						</div>
						<div class="form-group col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
							<div class="control-label">
								<label>签退时间</label>
							</div>
							<div class="control-content">
								<input type="text" class="form-control" name="out_time" value="<%=request.getAttribute("signout_time")%>">
							</div>
						</div>

						<div class="form-group col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
							<label class="control-label">　　　　</label>
							<div class="control-content">
							<button class="btn btn-primary btn-block" type="submit">提交</button>
							</div> 
						</div>   
					</form>
				</div>
			</div>      
		</div>
	</div>
</div>

<script>
	document.title = "系统信息-签到设置";
</script>

<jsp:include page="../footer.jsp" />


